const Mock = require('mockjs')
const fs = require('fs');

const data = Mock.mock({
	"list|100": [{
		"title": '@ctitle',
		"image": '@image(120x80, @color, image)',
		"desc": '@cword(10, 20)',
		"id|+1": 1
	}]
})

fs.writeFileSync('data.json', JSON.stringify(data))